-
Notifications
You must be signed in to change notification settings - Fork 7
Feat: Pendle PT-sUSDe-27Nov25 #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0xtj24
commented
Aug 27, 2025
- Add feed, market and ALE tests for Pendle PT sUSDe 27Nov25
src/factory/MarketFactory.sol
Outdated
| IOracle public constant ORACLE = IOracle(0xaBe146CF570FD27ddD985895ce9B138a7110cce8); | ||
| IDolaBorrowingRights public constant DBR = IDolaBorrowingRights(0xAD038Eb671c44b853887A7E32528FaB35dC5D710); | ||
| address public constant GOV = 0x926dF14a23BE491164dCF93f4c468A50ef659D5B; | ||
| address public constant FED = 0x2b34548b865ad66A2B046cb82e59eE43F75B90fd; | ||
| address public constant PAUSE_GUARDIAN = 0xE3eD95e130ad9E15643f5A5f232a3daE980784cd; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parameters that may change in the future should be setable by governance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 4506573
src/factory/FeedSwitchFactory.sol
Outdated
| uint256 public constant TIMELOCK_PERIOD = 64800; | ||
| address public constant GUARDIAN = 0x4b6c63E6a94ef26E2dF60b89372db2d8e211F1B7; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parameters that may change in the future should be setable by governance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 4506573
08xmt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally lgtm but would like to see:
- Governance setable params for parameters that may change, as it makes more sense to keep factory in the future than deploy new factories.
- Short test making sure a "manually" deployed market or feed is equivalent to a factory deployed market. Mostly as a way to remind us to update the factory if changes are made to the underlying contracts.